drawGraph = function(ds){
	
	alert("hre");
	
	Ext.onReady(function () {
	    var chart;

	    chart = new Ext.chart.Chart({
	        renderTo: Ext.getBody(),
	        width: 600,
	        height: 550,
	        animate: false,
	        theme: 'Category1',
	        store: ds,
	        renderTo: Ext.getBody(),
	     /*   legend: {
	          position: 'right'
	        },*/
	        axes: [{
	            type: 'Numeric',
	            position: 'left',
	            fields: ['d1T', 'd2M'],
	            title: 'Wattage(Wh)',
	            grid: true
	        },{
	            type: 'Category',
	            position: 'bottom',
	            fields: ['name'],
	            title: 'Hours'
	        }],
	        series: [{
	            type: 'column',
	            axis: 'left',
	            xField: 'name',
	            yField: ['d1T', 'd2M']
	        }]
	    });
	});
	
	
}